/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmc.rra.controller;

import com.cmc.rra.forms.SignInForm;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 *
 * @author CMC
 */
@Controller
@RequestMapping("/rraHome")
public class HomeController {

    @RequestMapping(method = RequestMethod.GET)
    public String showHome(@ModelAttribute SignInForm signInForm) {

        return "/rraHome";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/rraLogin")
    public String showLogin(@ModelAttribute SignInForm signInForm) {

        return "login";
    }
    
    @RequestMapping(method = RequestMethod.GET, value = "/nonFiscal")
    public String showNonFiscalForm() {

        return "nonFiscalForm";
    }
}
